package com.partner.service.suggestion;

import java.util.List;
import org.springframework.stereotype.*;
import org.springframework.beans.factory.annotation.*;
import com.partner.frame.*;
import com.partner.bean.suggestion.Suggestion;
import com.partner.mapper.suggestion.SuggestionMapper;

@Service("suggestionService")
public class SuggestionService extends BaseService<Suggestion> {

	@Autowired
	private SuggestionMapper serviceMapper;

	public SuggestionMapper getServiceMapper() {
		return serviceMapper;
	}
	
	/**
	 * 保存反馈建议
	 * @param Suggestion
	 * @return
	 */
	public void insert(Suggestion s){
			serviceMapper.insert(s);
		
	}

	public List<Suggestion> selectByAccount(String account) {
		return null ;  //serviceMapper.selectByAccount(account);
	}

	public int update(Suggestion cBean) {
		return serviceMapper.update(cBean);
	}
	
}
